
import java.text.*;
import java.util.*;

public class Simple {
    public static void main(String[] args) {
        DateFormat dateFormat_1 =
                new SimpleDateFormat("EE-MM-dd-yyyy", Locale.TAIWAN);  
        DateFormat dateFormat_2 =
                new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z", Locale.TAIWAN);  
        System.out.println(dateFormat_1.format(new Date())); 
        System.out.println(dateFormat_2.format(new Date())); 
    }
}
